const mongoose = require('mongoose');
// 创建Schema对象
const Schema = mongoose.Schema
var schema = new Schema({
	title: String, //类型需要首字母大写，因为这里调用的是String类型的构造函数
	price: Number,
	tip: String,
	total: Number,
	img: String,
});
module.exports = mongoose.model('good', schema);